home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Xconq 7.0d37 / source / x11 / xcmd.def < prev    next >
Encoding:
Text File  |  1995-03-21  |  1.4 KB  |  58 lines  |  [TEXT/R*ch]

  1. /* X-specific commands for the X11 interface to Xconq.
  2.    Copyright (C) 1993, 1994 Stanley T. Shebs.
  3.  
  4. Xconq is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.  See the file COPYING.  */
  8.  
  9. DEF_CMD(  '+' , "in", "", do_zoom_in,
  10.   "zoom in to see more map detail")
  11.  
  12. DEF_CMD(  '-' , "out", "", do_zoom_out,
  13.   "zoom out to see less map detail")
  14.  
  15. DEF_CMD(  'i' , "occ", "U", do_occupant,
  16.   "look at occupant(s)")
  17.  
  18. DEF_CMD(  'e' , "embark", "U", do_embark_cmd,
  19.   "embark units onto transport occupying same unit")
  20.  
  21. DEF_CMD(   0  , "follow action", "", do_x_follow_action,
  22.   "")
  23.  
  24. DEF_CMD(   0  , "rv", "", do_x_reverse_video,
  25.   "")
  26.  
  27. DEF_CMD(   0  , "map", "", do_x_map,
  28.   "")
  29.  
  30. DEF_CMD(   0  , "save", "", do_save,
  31.   "")
  32.  
  33. DEF_CMD(   0  , "world map", "", do_x_world_map,
  34.   "")
  35.  
  36. #ifdef DESIGNERS
  37.  
  38. DEF_CMD(  '|' , "set unit type", "", do_x_set_unit_type,
  39.   "modify unit type (designers only)")
  40.  
  41. DEF_CMD( '\\' , "add unit", "", do_x_add_unit,
  42.   "build a new unit (designers only)")
  43.  
  44. DEF_CMD(  '~' , "set terrain type", "", do_x_set_terrain_type,
  45.   "modify paint type (designers only)")
  46.  
  47. DEF_CMD(  '`' , "paint terrain", "", do_x_paint_terrain,
  48.   "modify terrain (designers only)")
  49.  
  50. #endif /* DESIGNERS */
  51.  
  52. #ifdef DEBUGGING
  53.  
  54. DEF_CMD(   0  , "mono", "", do_x_fake_mono,
  55.   "pretend to be a monochrome display")
  56.  
  57. #endif
  58.